﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Pumptester.test
{
    public partial class UIDemo : Form
    {
        public UIDemo()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.mySqlConnection1.Open();
            this.mySqlCommand1.Connection = this.mySqlConnection1;
            this.mySqlCommand1.CommandText = "select count(*) from app_banner";
            long result =(long) this.mySqlCommand1.ExecuteScalar();

            this.mySqlConnection1.Close();

            //this.ucConduit1.LiquidSpeed = int.Parse( this.textBox1.Text);
        }

        private void ucConduit3_Load(object sender, EventArgs e)
        {

        }

        private void ucBlower1_Load(object sender, EventArgs e)
        {

        }
    }
}
